-
Home
-
Security Ninja – WordPress Security Plugin & Firewall
-
5.241 (latest)
-
Code
-
Classes
- Wf_Sn_Crypto
Total Complexity |
44 |
Dependencies |
2 |
Dependents |
1 |
Total lines |
314 |
Lines of code |
159 |
Logical lines of code |
95 |
Comment lines |
97 |
Methods |
13 |
Properties |
0 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
verify_jwt() |
A |
52 |
8 |
23 |
generate_key() |
S |
55 |
6 |
19 |
generate_iv() |
S |
55 |
6 |
19 |
rotate_keys() |
S |
55 |
4 |
19 |
decrypt() |
S |
58 |
4 |
15 |
encrypt() |
S |
59 |
4 |
14 |
get_site_id() |
S |
62 |
3 |
10 |
get_encryption_key() |
S |
66 |
2 |
8 |
hash() |
S |
70 |
2 |
6 |
verify_hash() |
S |
70 |
2 |
6 |
generate_jwt() |
S |
58 |
1 |
14 |
base64url_encode() |
S |
77 |
1 |
3 |
base64url_decode() |
S |
75 |
1 |
3 |